package com.yisu.auction.api.core.service.impl;

import com.yisu.auction.api.core.mapper.MessageMapper;
import com.yisu.auction.api.core.service.BaseService;
import com.yisu.auction.api.core.service.IMessageService;
import com.yisu.auction.api.domain.request.BasePage;
import com.yisu.auction.api.domain.vo.indexPackageVos.MessageVo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * author: 赵杰
 * Business Description：消息业务实现
 * createTime：2017/8/16
 */
@Service("IMessageService")
public class MessageServiceImpl extends BaseService implements IMessageService {
    @Resource
    private MessageMapper messageMapper;
    /**
     * author: 赵杰
     * Business Description：获取拍卖头条列表，用户跑马灯
     * @return
     */
    @Override
    public List<MessageVo> getFrontPageList() {
        return messageMapper.getFrontPageList();
    }
}
